<template>
  <el-dialog ref="ELDialog1" :visible.sync="visible">
    <r-form ref="RForm2" :columns="columns" :submit="submitBtn" @submit="submitHandler"> </r-form>
  </el-dialog>
</template>
<script>
export default {
  data() {
    return {
      submitBtn: {
        name: '审核',
        tpye: 'dange'
      },
      visible: false
    }
  },
  props: {
    columns: {
      type: Array
    }
  },
  methods: {
    submitHandler(formData) {
      this.$emit('submit', formData)
    }
  }
}
</script>
<style scoped>
</style>
  